Ext.define('AmpleHarvest.DATA.Store.gsbrowse.appCategory',
{
   extend      : 'Ext.data.Store',
   alias: 'widget.ampleharvest-data-store-gsbrowse-appcategory',
   
   model       : 'AmpleHarvest.DATA.Model.genericNameValueModel',
   autoLoad: false,
   appendId: false,
   
   clearOnPageLoad: true,
   pageSize    : 10,
   remoteSort     : false,
   listeners: {
       exception: function(store, response, op) {
          console.log('Exception !');

          // hack to avoid js exception :
          // TypeError: 'undefined' is not an object (evaluating 'records.length')
          // on line sencha-touch-debug-1-1-0.js:7212
          op.records = [];
       }
   }
}
);